package com.magic.gre.mvp.contract;

import com.magic.gre.entity.ActivityBean;
import com.noname.lib_base_java.mvp.BaseContract;

import java.util.List;

import io.reactivex.Observer;
import okhttp3.ResponseBody;

/**
 * Author: Lmoumou
 * Date: 2019-01-10 20:16
 * 文件名: MyActivityContract
 * 描述:
 */
public interface MyActivityContract {
    interface Model extends BaseContract.BaseModel {
        void mActivityList(Observer<ResponseBody> observer, int pageNo);
        void mActDetails(Observer<ResponseBody> observer, String activityId,String device);
    }

    interface Presenter extends BaseContract.BasePresenter {
        void pActivityList(int pageNo);
        void pActDetails(String activityId,String device);
    }

    interface View extends BaseContract.BaseView {
        void vActivitylist(List<ActivityBean> beanList);
        void vActDetails(ActivityBean bean,String activityId);
    }
}
